package com.wyq.new_springboot.util.result;

/**
 * 返回信息
 * @author wyq on 2021/3/28.
 */
public enum ResultMessage {
    SUCCESS("接口返回成功"),
    FAIL("系统异常"),
    UNAUTHORIZED("认证失败"),
    NOT_FOUND("接口未找到");
    private String message;

    ResultMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
